package nancal.mp.db.es.table

import java.io.*
import nbcp.myoql.db.*
import nbcp.myoql.db.es.*
import nbcp.myoql.db.comm.*
import nbcp.myoql.db.enums.*
import nbcp.myoql.db.es.component.*
import nbcp.base.utils.*
import nbcp.base.extend.*
import nbcp.myoql.db.es.base.*
import org.slf4j.LoggerFactory
import org.springframework.stereotype.*


class CreditEntityBatteryStatusModelMeta (private val parentPropertyName: String): EsColumnName() {
    constructor(_val: EsColumnName): this(_val.toString()) {}

    val batteryLevel=esColumnJoin(this.parentPropertyName, "batteryLevel")
    val batteryMax=esColumnJoin(this.parentPropertyName, "batteryMax")
    val batteryPct=esColumnJoin(this.parentPropertyName, "batteryPct")
    val batteryState=esColumnJoin(this.parentPropertyName, "batteryState")
    val isAcCharge=esColumnJoin(this.parentPropertyName, "isAcCharge")
    val isCharging=esColumnJoin(this.parentPropertyName, "isCharging")
    val isUsbCharge=esColumnJoin(this.parentPropertyName, "isUsbCharge")

    override fun toString(): String {
        return esColumnJoin(this.parentPropertyName).toString()
    }
}

